<ui:composition xmlns="http://www.w3.org/1999/xhtml"
                xmlns:ui="http://java.sun.com/jsf/facelets"
                xmlns:h="http://java.sun.com/jsf/html"
                xmlns:f="http://java.sun.com/jsf/core"
                xmlns:p="http://primefaces.org/ui"
                template="/WEB-INF/template.xhtml">

    <ui:define name="title">
        Ajax Framework - <span class="subitem">Basic</span>
    </ui:define>

    <ui:define name="description">
        This example demonstrates a simple but common usage of posting the form, updating the backend value and displaying the output with ajax.
    </ui:define>

    <ui:param name="documentationLink" value="/ajax/rendering" />

    <ui:define name="implementation">

        <h:form>
            <h:panelGrid columns="4" cellpadding="5">
                <h:outputLabel for="name" value="Name:" style="font-weight:bold" />
                <p:inputText id="name" value="#{basicView.text}" />
                <p:commandButton value="Submit" update="display" icon="pi pi-check" />
                <h:outputText id="display" value="#{basicView.text}" />
            </h:panelGrid>
        </h:form>
        
    </ui:define>

</ui:composition>